package com.zzl.bonds.ticket.dto.feign;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 合同模板
 *
 * @author gull
 * @date 2022-06-23 11:06:51
 */
@Data
@TableName("cp_c_template")
@ApidocModel
@SuppressWarnings("javadoc")
public class TemplateEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "签章id")
    private String id;
    @ApidocModelProperty(description = "模板类型买卖合同	MM供用电、水、气、热力合同	GY赠与合同	ZY借款合同	JK租赁合同	ZL融资租赁合同	RZZL承揽合同	CL建设工程合同	JSGC运输合同	YS技术合同	JS保管合同	BG仓储合同	CC委托合同	WT行纪合同	XJ居间合同	JJ劳动合同	LD其他合同	QT")
    private String templateType;
    @ApidocModelProperty(description = "模板名称")
    private String templateName;
    @ApidocModelProperty(description = "模板文件唯一标识")
    private String templateFile;
    @ApidocModelProperty(description = "文本域名称，用英文分号隔开")
    private String textName;
    @ApidocModelProperty(description = "签署人名称，如Signature_plat;Signature1")
    private String signName;
    @ApidocModelProperty(description = "模板编号，从安心签平台获取")
    private String cfcaTemplateId;
    @ApidocModelProperty(description = "业务对象，如开立方、融资方")
    private Integer businessType;
    @ApidocModelProperty(description = "是否平台模板：0 否，1 是")
    private Integer isPlatTemplate;
    @ApidocModelProperty(description = "是否删除：1 表示删除，0 表示未删除")
    private Integer deletedStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "部门id")
    private Integer orgId;
    @ApidocModelProperty(description = "创建人")
    private Integer creatorId;
    @ApidocModelProperty(description = "修改人")
    private Integer updaterId;
    @ApidocModelProperty(description = "备注")
    private String remark;
    @ApidocModelProperty(description = "企业类型，0：核心企业 1：供应商，2：集团 3：平台")
    private Integer enterpriseType;
    @ApidocModelProperty(description = "合同摘要")
    private String contractSummary;
}
